package com.hilinos.base.feign;

import com.hilinos.common.entity.RespVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@FeignClient(value = "hilin-base", path = "/user")
public interface UserApi {

    @PostMapping("check/token")
    RespVo<Object> checkToken(String token);

}
